package com.example.exerciseintelligenttransportation2;

import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    private TextView tvMainBalance;
    private Spinner spMainCarId;
    private EditText edtTxtMainMoney;
    private Button btnMainQuery;
    private Button btnMainRecharge;
    private TextView textView;
    private TextView textView2;
    private TextView textView3;
    private TextView textView4;
    private TextView textView5;
    private TextView textView6;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        initView();
    }

    private void initView() {
        tvMainBalance = (TextView) findViewById(R.id.tvMainBalance);
        spMainCarId = (Spinner) findViewById(R.id.spMainCarId);
        edtTxtMainMoney = (EditText) findViewById(R.id.edtTxtMainMoney);
        btnMainQuery = (Button) findViewById(R.id.btnMainQuery);
        btnMainRecharge = (Button) findViewById(R.id.btnMainRecharge);
        textView = (TextView) findViewById(R.id.textView);
        textView2 = (TextView) findViewById(R.id.textView2);
        textView3 = (TextView) findViewById(R.id.textView3);
        textView4 = (TextView) findViewById(R.id.textView4);
        textView5 = (TextView) findViewById(R.id.textView5);
        textView6 = (TextView) findViewById(R.id.textView6);
    }
}